RFE: Add a hidden option to `ostree admin kargs edit-in-place` to
authorHuijing Hei <hhei@redhat.com>
Thu, 2 Jun 2022 07:30:20 +0000 (15:30 +0800)
committerHuijing Hei <hhei@redhat.com>
Thu, 23 Jun 2022 14:31:39 +0000 (22:31 +0800)
commit3bc59a52068ed52e063d99ebe2492eae6f6f92c0
treeac35f74101d25faddb3eab5675f73d49874a1f8c
parentb04c436bb9b718198c2bf0d891ae0b6e1184daf2
RFE: Add a hidden option to `ostree admin kargs edit-in-place` to
update all existing deployments in place

Example:
$ sudo ostree admin kargs edit-in-place --append-if-missing=rw
See https://github.com/ostreedev/ostree/issues/2617

This will not add duplicate key, if there is `TESTARG=VAL1` in the
kernel arguments, `--append-if-missing=TESTARG=VAL2` will be ignored.
13 files changed:
Makefile-libostree.am
Makefile-ostree.am
Makefile-tests.am
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-kernel-args.c
src/libostree/ostree-kernel-args.h
src/ostree/ot-admin-builtin-kargs.c [new file with mode: 0644]
src/ostree/ot-admin-builtins.h
src/ostree/ot-admin-kargs-builtin-edit-in-place.c [new file with mode: 0644]
src/ostree/ot-admin-kargs-builtins.h [new file with mode: 0644]
src/ostree/ot-builtin-admin.c
tests/test-admin-kargs.sh [new file with mode: 0755]